<template>
  <common-dialog
    ref="dialog"
    title="账单费用变更记录"
    width="1200px"
    :in-dialog="inDialog"
  >
    <list
      ref="list"
      in-dialog
    >
    </list>
  </common-dialog>
</template>
<script>
import commonDialog from "@/components/common/dialog";
import list from "./chargeCdcList";
export default {
  components: { commonDialog, list },
  props: {
    inDialog: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    openQuery(data) {
      this.$refs.dialog.loading();
      this.$refs.dialog.open().then(() => {
        console.log(this.$refs.list);
        this.$refs.list.query(data).then(() => {
          this.$refs.dialog.loading(false);
        })
      })
    }
  }
};
</script>